import Names from '@store/Names'

const useUserStore = defineStore(Names.USER, {
    //小仓库，存储数据的地方
    state: () => {
        return {
            token: '',
            user: {}
        }
    },
    getters: {},
    persist: {
        storage: localStorage,
    },
});

export default useUserStore